package day20171129;

public class Work4_6 {

    public static void main(String[] args) {
        String s[] = {"ab", "c", "d"};
        reverse(s[0], s[1]);
        System.out.println("s[0]=" + s[0] + "s[1]=" + s[1]);
    }

    static void reverse(String s0, String s1) {
        String s;
        s = s0;
        s0 = s1;
        s1 = s;
    }
}

